Conversation
|
@ebma the weights have increased. You can check each extrinsic's comments from the benchmark. |
ebma
left a comment
There was a problem hiding this comment.
Thanks for adding all these changes @b-yap 🙏
I see that the weights changed indeed. Sometimes the execution time varies just a little and sometimes the weights doubled (which might look confusing at first since the weight comments now state everything in pico seconds, but since pico is 1e-3 smaller than nano and the values mostly have three additional 0s now, they are pretty similar.) But it could be that the fact that you were now using --execution=wasm also amplified this variation. It's great though that you managed to use that parameter as it's preferred and should be more accurate AFAIK. I only did not use it before because it did not work for some reason.
Maybe we can fix some of the CI warnings but besides that it's good to go 👍
| // --extrinsic=* | ||
| // --chain | ||
| // dev | ||
| // --execution=wasm |
There was a problem hiding this comment.
Wow, since when does it work with wasm? That's great. I remember when I created all the benchmarks a while ago this parameter was not working and unfortunately I was not able to figure out why. Great that it works now
pallets/issue/src/benchmarking.rs
Outdated
| // this amount is when running the benchmark with the testchain | ||
| // let amount = 1000_0000u32.into(); |
There was a problem hiding this comment.
Why this comment? I need to change the amount when running benchmarks with the testchain but use the 1000 otherwise? Can we change it such that it always uses 100_00000u32 then so that it works in both cases?
There was a problem hiding this comment.
changed amount to the fixed 1000_0000u32.into()
…obs/9118542926?pr=350#step:9:1563 and remove extra comments of grandpa
407d32b to
365d3f4
Compare
partially closes pendulum issue 219.
I have updated the weights as well, since a lot of the pallets are
#![deny(warnings)].summary of changes:
from_ref..., changed tofrom_parts()functionSpecific to clients directory:
Specific to testchain directory:
warp_synctowarp_sync_paramssc-networkWeightToFeeandLengthToFeeimpls to transaction-payment Runtime APIKeyOwnerProofSystemof grandpa removedextra:
test_check_slot_positiontest case after updating theMAX_SLOTS_TO_REMEMBERvalue.